﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Brc_PaaS.Common.Model.Basic
{
    public class LogModel
    {
        /// <summary>
        /// 机构Id
        /// </summary>
        public string Organization_Id { get; set; }
        /// <summary>
        /// 访问Token
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 服务地址
        /// </summary>
        public string ServerAddress { get; set; }
        /// <summary>
        /// 服务版本
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 创建项目API地址
        /// </summary>
        public string CreateProjectApi { get; set; }
        /// <summary>
        /// 创建项目TokenAPI地址
        /// </summary>
        public string CreateTokenApi { get; set; }
        /// <summary>
        /// 写入，查询日志/异常API地址
        /// </summary>
        public string EventsApi { get; set; }
        /// <summary>
        /// 获取异常详情API地址
        /// </summary>
        public string EventDetailApi { get; set; }
        /// <summary>
        /// 获取日志数API地址
        /// </summary>
        public string EventsCountApi { get; set; }
        /// <summary>
        /// 登录Api地址
        /// </summary>
        public string LoginApi { get; set; }
    }

    public enum PaaSLogLevel
    {
        Error = 0,
        Warn = 1,
        Debug = 2,
        Info = 3,
        Trace = 4
    }
}
